﻿<UserControl x:Class="PhotoKiosk.View.OrderDetailsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:resx="clr-namespace:PhotoKiosk.Properties"
             xmlns:uc="clr-namespace:PhotoKiosk.View.UserControls"
             mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="1366">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="10" />
            <RowDefinition Height="*" />
            <RowDefinition Height="10" />
            <RowDefinition Height="4*" />
            <RowDefinition Height="10" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Label Grid.Row="1" Content="{x:Static resx:Resources.EnterYourPersonalDetails}" HorizontalContentAlignment="Center" VerticalAlignment="Top" FontSize="35"  Foreground="White" Background="#55000000" />
        <Grid Grid.Row="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="40"/>
                <ColumnDefinition Width="3*"/>
                <ColumnDefinition Width="40"/>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="40"/>
            </Grid.ColumnDefinitions>
            <StackPanel Grid.Column="1">
                <Label Content="{x:Static resx:Resources.FullName}" HorizontalContentAlignment="Center" VerticalAlignment="Top" FontSize="30" Foreground="White" Background="#55000000"/>
                <UserControl Content="{Binding KeyboardAndTextViewModel, Mode=OneTime}" Background="#22000000"/>
            </StackPanel>
            <StackPanel Grid.Column="3">
                <Label Content="{x:Static resx:Resources.PhoneNumber}" HorizontalContentAlignment="Center" VerticalAlignment="Top" FontSize="30" Foreground="White" Background="#55000000"/>
                <UserControl Content="{Binding NumbersPadAndTextViewModel, Mode=OneTime}" Background="#22000000"/>
            </StackPanel>
        </Grid>
        <Button Grid.Row="5" Command="{Binding FinishCommand, ValidatesOnExceptions=True}" Margin="0,0,10,10" Background="#FF4C7D99" Height="60" Width="180" VerticalAlignment="Bottom" HorizontalAlignment="Right">
            <StackPanel Orientation="Horizontal">
                <Label Content="{x:Static resx:Resources.Next}"  HorizontalContentAlignment="Center" VerticalAlignment="Center" FontSize="30"/>
                <Image Source="Images/Next.png" Height="60" />
            </StackPanel>
        </Button>
    </Grid>
</UserControl>
